﻿//------------------------------------------------------------------------------
// <pcdd-entitiy>
//     彩票主流业务类库
//     业务对象
// </pcdd-entitiy>
//------------------------------------------------------------------------------ 

using System.Collections.Generic;

namespace CL.Game.BLL
{
    public class RechargeReportHelperBLL
    {
        /// <summary>
        /// 合作商
        /// </summary>
        public readonly Dictionary<string, string> dicPartner = null;

        /// <summary>
        /// 支付方式
        /// </summary>
        public readonly Dictionary<string, string> dicPayMethod = null;

        /// <summary>
        /// 费率  (万分比)
        /// </summary>
       // public readonly Dictionary<string, int> dicRate = null;

        public RechargeReportHelperBLL()
        {
            dicPartner = new Dictionary<string, string>();
            dicPartner.Add("WeChatPay", "微信支付");
            dicPartner.Add("YFB_Pay", "银付宝");
            dicPartner.Add("WFT_Pay", "威富通");

            dicPayMethod = new Dictionary<string, string>();
            dicPayMethod.Add("WeChatPay", "微信二维码支付");
            dicPayMethod.Add("YFB_Pay", "支付宝H5支付");
            dicPayMethod.Add("WFT_Pay", "微信APP支付");

            //dicRate = new Dictionary<string, int>();
            //dicRate.Add("WeChatPay", 600);
            //dicRate.Add("YFB_Pay", 700);
            //dicRate.Add("WFT_Pay", 800);
        }

        public string GetPartner(string key)
        {
            if (string.IsNullOrEmpty(key))
                return "";

            if (dicPartner.ContainsKey(key))
                return dicPartner[key];
            else
                return "";
        }

        public string GetPayMethod(string key)
        {
            if (string.IsNullOrEmpty(key))
                return "";

            if (dicPayMethod.ContainsKey(key))
                return dicPayMethod[key];
            else
                return "";
        }
    }
}
